package com.machine.filling.db.modle;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by sperfan on 2018/3/20.
 *
 * @描述: 订单表
 */
@Entity(nameInDb = "localOrder")
public class LocalOrderModle {
    @Id(autoincrement = true)
    private long id;
    /**
     * 油卡类型  1用户的加油卡 2员工卡
     */
    @Property
    private String oilCardType;
    /**
     * 油卡编号
     */
    @Property
    private String oilCardNum;
    /**
     * 订单编号
     */
    @Property
    private String OrderNum;
    /**
     * 油品名称
     */
    @Property
    private String oilTypeName;
    /**
     * 油品单价
     */
    @Property
    private String oilTypeUnitPrice;
    /**
     * 优惠金额
     */
    @Property
    private String discountMoney;
    /**
     * 实付总金额
     */
    @Property
    private String payTotalMoney;
    /**
     * 用户名称
     */
    @Property
    private String customName;
    /**
     * 加油金额
     */
    @Property
    private String fuelMoney;
    /**
     * 加油体积
     */
    @Property
    private String fuelVolume;
    /**
     * 支付状态 0未支付, 1已支付
     */
    @Property
    private String payState;
    /**
     * 支付方式  1支付宝 2微信 3现金 4油卡
     */
    @Property
    private String payMode;
    /**
     * 是否预约  1预约 0未预约
     */
    @Property
    private String orderType;
    /**
     * 加油时间
     */
    @Property
    private String fuelingTime;
    /**
     * 是否上传  0 未上传 1已上传
     */
    @Property
    private String uploadState;
    /**
     * 订单异常原因
     */
    @Property
    private String reason;
    /**
     * 是否是异常订单
     */
    @Property
    private boolean isError;

    /**
     * 加油凭证号
     */
    @Property
    private String pingzhengCode;
//    private String oilMachineState;

    @Generated(hash = 1524274531)
    public LocalOrderModle(long id, String oilCardType, String oilCardNum,
            String OrderNum, String oilTypeName, String oilTypeUnitPrice,
            String discountMoney, String payTotalMoney, String customName,
            String fuelMoney, String fuelVolume, String payState, String payMode,
            String orderType, String fuelingTime, String uploadState, String reason,
            boolean isError, String pingzhengCode) {
        this.id = id;
        this.oilCardType = oilCardType;
        this.oilCardNum = oilCardNum;
        this.OrderNum = OrderNum;
        this.oilTypeName = oilTypeName;
        this.oilTypeUnitPrice = oilTypeUnitPrice;
        this.discountMoney = discountMoney;
        this.payTotalMoney = payTotalMoney;
        this.customName = customName;
        this.fuelMoney = fuelMoney;
        this.fuelVolume = fuelVolume;
        this.payState = payState;
        this.payMode = payMode;
        this.orderType = orderType;
        this.fuelingTime = fuelingTime;
        this.uploadState = uploadState;
        this.reason = reason;
        this.isError = isError;
        this.pingzhengCode = pingzhengCode;
    }
    @Generated(hash = 1596605375)
    public LocalOrderModle() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public String getOilCardType() {
        return this.oilCardType;
    }
    public void setOilCardType(String oilCardType) {
        this.oilCardType = oilCardType;
    }
    public String getOilCardNum() {
        return this.oilCardNum;
    }
    public void setOilCardNum(String oilCardNum) {
        this.oilCardNum = oilCardNum;
    }
    public String getOrderNum() {
        return this.OrderNum;
    }
    public void setOrderNum(String OrderNum) {
        this.OrderNum = OrderNum;
    }
    public String getOilTypeName() {
        return this.oilTypeName;
    }
    public void setOilTypeName(String oilTypeName) {
        this.oilTypeName = oilTypeName;
    }
    public String getOilTypeUnitPrice() {
        return this.oilTypeUnitPrice;
    }
    public void setOilTypeUnitPrice(String oilTypeUnitPrice) {
        this.oilTypeUnitPrice = oilTypeUnitPrice;
    }
    public String getDiscountMoney() {
        return this.discountMoney;
    }
    public void setDiscountMoney(String discountMoney) {
        this.discountMoney = discountMoney;
    }
    public String getPayTotalMoney() {
        return this.payTotalMoney;
    }
    public void setPayTotalMoney(String payTotalMoney) {
        this.payTotalMoney = payTotalMoney;
    }
    public String getCustomName() {
        return this.customName;
    }
    public void setCustomName(String customName) {
        this.customName = customName;
    }
    public String getFuelMoney() {
        return this.fuelMoney;
    }
    public void setFuelMoney(String fuelMoney) {
        this.fuelMoney = fuelMoney;
    }
    public String getFuelVolume() {
        return this.fuelVolume;
    }
    public void setFuelVolume(String fuelVolume) {
        this.fuelVolume = fuelVolume;
    }
    public String getPayState() {
        return this.payState;
    }
    public void setPayState(String payState) {
        this.payState = payState;
    }
    public String getPayMode() {
        return this.payMode;
    }
    public void setPayMode(String payMode) {
        this.payMode = payMode;
    }
    public String getOrderType() {
        return this.orderType;
    }
    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }
    public String getFuelingTime() {
        return this.fuelingTime;
    }
    public void setFuelingTime(String fuelingTime) {
        this.fuelingTime = fuelingTime;
    }
    public String getUploadState() {
        return this.uploadState;
    }
    public void setUploadState(String uploadState) {
        this.uploadState = uploadState;
    }
    public String getReason() {
        return this.reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }
    public boolean getIsError() {
        return this.isError;
    }
    public void setIsError(boolean isError) {
        this.isError = isError;
    }
    public String getPingzhengCode() {
        return this.pingzhengCode;
    }
    public void setPingzhengCode(String pingzhengCode) {
        this.pingzhengCode = pingzhengCode;
    }

}
